<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>详情页</title>
		<script src="../js/mui.min.js"></script>
		<link href="../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../css/style.css" />
		<link rel="stylesheet" href="../css/iconfont.css" />
		<link rel="stylesheet" href="../css/index.css" />
	</head>
	<body>
	<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title" id='tou'>详情页</h1>			
			<!--<a class="mui-icon iconfont icon-sousuo-sousuo mui-pull-right search"></a>-->
			<a class="mui-icon mui-icon-search mui-pull-right search"></a>
		</header>
		<div style="margin-top: 50px;width:100%;">
			<div id='img' style="width: 30%;display: inline;float:left;margin-left:2%;">
				<img src='../images/qing1.jpg' style="margin: auto;border-radius:100%;"/>
			</div>
			<div id="right" style="display:inline;float:left;margin:4% 0 0 10%;width: 40%;" >
				<p id='name' style="font-size: 20px;margin:2% 10% 0 0;">小周</p>
			</div>
			<div style="display:inline;float:right;margin:2% 20% 0 0;">
			<p style="font-size: 16px;">性别：<em id="sex">男</em> &nbsp|&nbsp;年龄： <em id='age'>20</em></p>
			</div>
			
		</div>

    <div class="mui-content" style="clear:both; margin: 0 0 0 4%;">
       <p  style="font-size: 23px;">个人简述</p>
<div style=" width: 100%;">
	<li style="font-size: 20px;width: 100%;margin-top:20px;"><span>学历:<em id="record">初中</em></span><span style="float: right;margin-right:10px;display: block;">薪资:<em id='money'>2000</em></span></li>
	
</div>
<div >
	<li style="font-size: 20px;width: 100%;margin-top:25px;"><span>职称:<em id="certification">初中</em></span><span style="float: right;margin-right:10px;display: block;">工作时间:<em id='time'>2000</em></span></li>
	
</div>
    </div>
    
    <div class="mui-content" style="clear:both; margin: 0 0 0 4%;">
       <p  style="font-size: 23px;">工作经验</p>
       <div id='content' style="margin-top:20px;font-size: 20px;"></div>

    </div>
  		<div id="footer"></div>
	</body>
</html>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script src="../js/app.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/castapp.js"></script>
<script type="text/javascript" src="../js/layer/layer.min.js"></script>
<script>
		getFoot(getUrlParam("foot_active") > 0 ? getUrlParam("foot_active") : 1);
	var id=getUrlParam('id');
	$.ajax({
			//请求的url
			//注意，如果我们使用路由器的情况下，我们需要设置一下本地服务器的ip地址
			url: APP.api_url + 'talent/xq',
			data: {
				id:id
			},
			dataType: 'JSONP', // 处理Ajax跨域问题
			//成功了的回调，并且带有返回值
			success: function(data) {
				//layer.msg(data.msg);
				if(data.code == 200) {
					var mem_list = data.list;
					$('#name').text(mem_list.real_name);				
					$('#certification').text(mem_list.certification);					
					$('#money').text(mem_list.m_money);
					$('#record').text(mem_list.record);
					$('#content').text(mem_list.resume);
					$('#age').text(mem_list.birth);
					if(mem_list.time == 1){
						$('#time').text('长期');
					}else if(mem_list.time == 2){
						$('#time').text('兼职');
					}else{
						$('#time').text('零时工');
					}

					if(mem_list.time == 1){
						$('#sex').text('男');
					}else{
						$('#sex').text('女');
					}
				}
			}
		});

</script>
